package com.ruoyi.customer.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.core.domain.BaseEntity;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDate;
import java.util.List;

/**
 * 储存商品对象 c_goods
 * 
 * @author 王梦川
 * @date 2024-10-25
 */
@Data
@AllArgsConstructor
@ToString
@NoArgsConstructor
public class Store extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    private Long id;

    private Long cId;

    private String name;

    private String orderNo;

    private Integer contractId;

    private String status;

    private List<OrderNumber> orderNumber;

    private String type;

    private Integer dailyRent;

    private double warehouseId;

    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private LocalDate serviceTime;

    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private LocalDate expirationTime;

    public Long getcId() {
        return cId;
    }

    public void setcId(Long cId) {
        this.cId = cId;
    }


    private  double money;
}
